package cn.net.shuxing.yifu.common.mapper;

import cn.net.shuxing.yifu.common.bean.BaseArea;
import cn.net.shuxing.yifu.common.bean.CardType;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BaseAreaMapper extends Mapper<BaseArea> {


    BaseArea selectAreaById(@Param("id") Integer id);

    List<BaseArea> selectProvinceList();

    List<BaseArea> selectCityList(@Param("parentId") Integer parentId);

    List<BaseArea> selectDistrictList(@Param("parentId") Integer parentId);
}
